/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server;

import java.net.InetSocketAddress;

/**
 *
 * @author pedro
 */
public class ClientData {
    private InetSocketAddress socketAddress = null;
    private int msgId = 0;
    private int remainingNickConfirmations = 0;

    public ClientData(InetSocketAddress socketAddress) {
         this.socketAddress = socketAddress;
    }

    /**
     * @return the socketAddress
     */
    public InetSocketAddress getSocketAddress() {
        return socketAddress;
    }

    /**
     * @param socketAddress the socketAddress to set
     */
    public void setSocketAddress(InetSocketAddress socketAddress) {
        this.socketAddress = socketAddress;
    }

    /**
     * @return the msgId
     */
    public int getMsgId() {
        return msgId;
    }

    /**
     * @param msgId the msgId to set
     */
    public void setMsgId(int msgId) {
        this.msgId = msgId;
    }

    /**
     * @return the remainingNickConfirmations
     */
    public int getRemainingNickConfirmations() {
        return remainingNickConfirmations;
    }

    /**
     * @param remainingNickConfirmations the remainingNickConfirmations to set
     */
    public void setRemainingNickConfirmations(int remainingNickConfirmations) {
        this.remainingNickConfirmations = remainingNickConfirmations;
    }

}
